<?php
$this->breadcrumbs=array(
	'Manufacturing' => array('manufacturing/index'),
	'Work Orders' => array('index'),
	$model->wo_number => array('view','id'=>$model->id),
	'Update',
);
?>

<?php if(Yii::app()->user->hasFlash('notify')): ?>

<div class="notifyBox">
	<?php echo Yii::app()->user->getFlash('notify'); ?>
	<ul>
		<li><a href="<?php echo $this->createUrl("workOrder/view/id/{$model->id}"); ?>">View WO</a></li>
		<li><a href="<?php echo $this->createUrl("workOrder/create"); ?>">Create another WO</a></li>
	</ul>
</div>

<?php endif; ?>

<h1>Update WorkOrder <?php echo $model->wo_number; ?></h1>

<?php echo $this->renderPartial('_form', array(
										'model'=>$model,
										'item_codes'=>$item_codes,
										'item_names'=>$item_names,
										'item_costs'=>$item_costs,
										'line_items'=>$line_items)); ?>